package test.com.sky.designPattern.statePattern;

public class Client {


    /**
     * 注意对比 电梯状态表格
     *
     * */
    public static void main(String[] args) {
        Lift lift = new Lift();
        lift.setState(new OpeningState(lift));
        lift.open();
        lift.close();
        lift.run();
        lift.stop();
    }

}
